
package com.example.sistemacompras.entity;

import java.util.Date;

public class Order {

    private int id;

    private Client client;

    private int submited;

    private Date date;

    public Order() {
    	this.date = new Date();
    	this.submited =  0;
    }

    public Order(int id, Client client, int submited,Date date) {
        this.id = id;
        this.client = client;
        this.submited = submited;
        this.date = date;
    }

    public int getId() {
        return id;
    }

	public Client getClient() {
		return client;
	}

	public void setClient(Client client) {
		this.client = client;
	}

	public int isSubmited() {
		return submited;
	}

	public void setSubmited(int submited) {
		this.submited = submited;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public void setId(int id) {
		this.id = id;
	}
    
    
}
